package com.ynet.middleground.contract.policy;

import org.springframework.stereotype.Component;

import com.deepoove.poi.render.compute.RenderDataCompute;
import com.deepoove.poi.render.compute.RenderDataComputeFactory;

/**
 * @author liulx
 * @description 自定义数据渲染计算类，用于 SpringEL 表达式
 * @date 2020-04-30 16:18
 */
@Component
public class NewRenderDataCompute implements RenderDataComputeFactory {

    @Override
    public RenderDataCompute newCompute(Object o) {
        return new SpELRenderDataCompute(o);
    }

}
